|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfurny.util.ModelUtil
public final class ModelUtil
Utility class for handling JME nodes.
Constructor Summary | |
---|---|
private |
ModelUtil()
Instantiation is not allowed. |
Method Summary | |
---|---|
static void |
center(com.jme3.scene.Node n)
Centers the JME node to the world. |
static com.jme3.math.Vector3f |
getExtents(com.jme3.scene.Node n)
Gets the dimensions/extents of the JME node. |
static com.jme3.math.Vector3f |
getHalfExtents(com.jme3.scene.Node n)
Gets the half dimensions/extents of the JME node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
private ModelUtil()
Method Detail |
---|
public static void center(com.jme3.scene.Node n)
n
- Node to center.public static com.jme3.math.Vector3f getExtents(com.jme3.scene.Node n)
n
- The node.
public static com.jme3.math.Vector3f getHalfExtents(com.jme3.scene.Node n)
n
- The node.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |